<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TMCStepper: src/source/ENCMODE.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">TMCStepper
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_e_n_c_m_o_d_e_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ENCMODE.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_e_n_c_m_o_d_e_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c_stepper_8h.html">TMCStepper.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">    4</a></span>&#160;<span class="preprocessor">#define SET_REG(SETTING) ENCMODE_register.SETTING = B; write(ENCMODE_register.address, ENCMODE_register.sr);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">    5</a></span>&#160;<span class="preprocessor">#define GET_REG(SETTING) ENCMODE_t r{0}; r.sr = ENCMODE(); return r.SETTING;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// ENCMODE</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a3c7840e9435d4332fc6a7742deeefa9f">    8</a></span>&#160;uint32_t <a class="code" href="class_t_m_c5130_stepper.html#a3c7840e9435d4332fc6a7742deeefa9f">TMC5130Stepper::ENCMODE</a>() {</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2130_stepper.html#aed0175bff6e80ebc14e0d2606283cbe0">read</a>(ENCMODE_register.address);</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;}</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#aef59e4f446323c23418fe05051993e6f">   11</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a3c7840e9435d4332fc6a7742deeefa9f">TMC5130Stepper::ENCMODE</a>(uint32_t input) {</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    ENCMODE_register.sr = input;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <a class="code" href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">write</a>(ENCMODE_register.address, ENCMODE_register.sr);</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;}</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a0bea43a0c26c6261a49db466773cd98a">   16</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">TMC5130Stepper::pol_a</a>(<span class="keywordtype">bool</span> B)          { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">pol_a</a>);           }</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a59d03dcf7c97d4000b205dcd8cf8dd03">   17</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">TMC5130Stepper::pol_b</a>(<span class="keywordtype">bool</span> B)          { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">pol_b</a>);           }</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a7e1372391f5b6a14f8dec49f08487f42">   18</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">TMC5130Stepper::pol_n</a>(<span class="keywordtype">bool</span> B)          { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">pol_n</a>);           }</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#aa24b6ae989d24e5890af18b4c04bd8b8">   19</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">TMC5130Stepper::ignore_ab</a>(<span class="keywordtype">bool</span> B)      { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">ignore_ab</a>);       }</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a20f0988b91a4248a4781bc312a285fe5">   20</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">TMC5130Stepper::clr_cont</a>(<span class="keywordtype">bool</span> B)       { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">clr_cont</a>);        }</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a1e32ae3846078b8d2a7fa7fa02b83344">   21</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">TMC5130Stepper::clr_once</a>(<span class="keywordtype">bool</span> B)       { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">clr_once</a>);        }</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a8683e4261ce6b4e12b313c4ca37bafad">   22</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">TMC5130Stepper::pos_edge</a>(<span class="keywordtype">bool</span> B)       { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">pos_edge</a>);        }</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a1779021fd601b238570769030053b8ec">   23</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">TMC5130Stepper::neg_edge</a>(<span class="keywordtype">bool</span> B)       { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">neg_edge</a>);        }</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a33142db644876539c376a47bc7de2bd6">   24</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">TMC5130Stepper::clr_enc_x</a>(<span class="keywordtype">bool</span> B)      { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">clr_enc_x</a>);       }</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a86578185128aa88a67d35f7d3a5526c0">   25</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">TMC5130Stepper::latch_x_act</a>(<span class="keywordtype">bool</span> B)    { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">latch_x_act</a>);     }</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#addb9c905a98855e364bf4186941221e4">   26</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">TMC5130Stepper::enc_sel_decimal</a>(<span class="keywordtype">bool</span> B){ <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">enc_sel_decimal</a>); }</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">   28</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">TMC5130Stepper::pol_a</a>()            { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">pol_a</a>);           }</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">   29</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">TMC5130Stepper::pol_b</a>()            { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">pol_b</a>);           }</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">   30</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">TMC5130Stepper::pol_n</a>()            { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">pol_n</a>);           }</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">   31</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">TMC5130Stepper::ignore_ab</a>()        { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">ignore_ab</a>);       }</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">   32</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">TMC5130Stepper::clr_cont</a>()         { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">clr_cont</a>);        }</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">   33</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">TMC5130Stepper::clr_once</a>()         { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">clr_once</a>);        }</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">   34</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">TMC5130Stepper::pos_edge</a>()         { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">pos_edge</a>);        }</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">   35</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">TMC5130Stepper::neg_edge</a>()         { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">neg_edge</a>);        }</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">   36</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">TMC5130Stepper::clr_enc_x</a>()        { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">clr_enc_x</a>);       }</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">   37</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">TMC5130Stepper::latch_x_act</a>()      { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">latch_x_act</a>);     }</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">   38</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">TMC5130Stepper::enc_sel_decimal</a>()  { <a class="code" href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">enc_sel_decimal</a>); }</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_t_m_c5130_stepper_html_ac7e051a54e081cf7ca8d122723c21521"><div class="ttname"><a href="class_t_m_c5130_stepper.html#ac7e051a54e081cf7ca8d122723c21521">TMC5130Stepper::pol_n</a></div><div class="ttdeci">bool pol_n()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00030">ENCMODE.cpp:30</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a6116f9f5714d5131872647944b9f76d6"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a6116f9f5714d5131872647944b9f76d6">TMC5130Stepper::neg_edge</a></div><div class="ttdeci">bool neg_edge()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00035">ENCMODE.cpp:35</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_aecad025759e7e28d3d8d4ba0949de27a"><div class="ttname"><a href="class_t_m_c5130_stepper.html#aecad025759e7e28d3d8d4ba0949de27a">TMC5130Stepper::latch_x_act</a></div><div class="ttdeci">bool latch_x_act()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00037">ENCMODE.cpp:37</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a8557cabf2a2cbaa71e9054266fab7243"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a8557cabf2a2cbaa71e9054266fab7243">TMC5130Stepper::enc_sel_decimal</a></div><div class="ttdeci">bool enc_sel_decimal()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00038">ENCMODE.cpp:38</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_af29f708ad86b7dc1d1315380c0fbe9b6"><div class="ttname"><a href="class_t_m_c5130_stepper.html#af29f708ad86b7dc1d1315380c0fbe9b6">TMC5130Stepper::ignore_ab</a></div><div class="ttdeci">bool ignore_ab()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00031">ENCMODE.cpp:31</a></div></div>
<div class="ttc" id="a_t_m_c_stepper_8h_html"><div class="ttname"><a href="_t_m_c_stepper_8h.html">TMCStepper.h</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_aac796aaf0a34eb549b0590cbbc5c7f2a"><div class="ttname"><a href="class_t_m_c5130_stepper.html#aac796aaf0a34eb549b0590cbbc5c7f2a">TMC5130Stepper::pos_edge</a></div><div class="ttdeci">bool pos_edge()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00034">ENCMODE.cpp:34</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_aed0175bff6e80ebc14e0d2606283cbe0"><div class="ttname"><a href="class_t_m_c2130_stepper.html#aed0175bff6e80ebc14e0d2606283cbe0">TMC2130Stepper::read</a></div><div class="ttdeci">uint32_t read(uint8_t addressByte)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130_stepper_8cpp_source.html#l00065">TMC2130Stepper.cpp:65</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_ab1856b8e97b8af8cb30580b57fe996e2"><div class="ttname"><a href="class_t_m_c5130_stepper.html#ab1856b8e97b8af8cb30580b57fe996e2">TMC5130Stepper::pol_b</a></div><div class="ttdeci">bool pol_b()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00029">ENCMODE.cpp:29</a></div></div>
<div class="ttc" id="a_e_n_c_m_o_d_e_8cpp_html_a851c499b52890f1c89886e8cf64a4415"><div class="ttname"><a href="_e_n_c_m_o_d_e_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a></div><div class="ttdeci">#define GET_REG(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00005">ENCMODE.cpp:5</a></div></div>
<div class="ttc" id="a_t_m_c___m_a_c_r_o_s_8h_html"><div class="ttname"><a href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a4873cc3e2de62badef5245d0c042aefe"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a4873cc3e2de62badef5245d0c042aefe">TMC5130Stepper::clr_enc_x</a></div><div class="ttdeci">bool clr_enc_x()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00036">ENCMODE.cpp:36</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a6a0fea8786aebc9f2135fe22aa7ab522"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a6a0fea8786aebc9f2135fe22aa7ab522">TMC5130Stepper::pol_a</a></div><div class="ttdeci">bool pol_a()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00028">ENCMODE.cpp:28</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_aad976e6d0bc18bf5ce026b7c5baff125"><div class="ttname"><a href="class_t_m_c5130_stepper.html#aad976e6d0bc18bf5ce026b7c5baff125">TMC5130Stepper::clr_cont</a></div><div class="ttdeci">bool clr_cont()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00032">ENCMODE.cpp:32</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a1f26f0ea072d38c0afd20f27563ebb64"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">TMC2130Stepper::write</a></div><div class="ttdeci">void write(uint8_t addressByte, uint32_t config)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130_stepper_8cpp_source.html#l00148">TMC2130Stepper.cpp:148</a></div></div>
<div class="ttc" id="a_e_n_c_m_o_d_e_8cpp_html_a6e4f7ba2fdd5a548e9a0383905ada143"><div class="ttname"><a href="_e_n_c_m_o_d_e_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a></div><div class="ttdeci">#define SET_REG(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00004">ENCMODE.cpp:4</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a3c7840e9435d4332fc6a7742deeefa9f"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a3c7840e9435d4332fc6a7742deeefa9f">TMC5130Stepper::ENCMODE</a></div><div class="ttdeci">uint32_t ENCMODE()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00008">ENCMODE.cpp:8</a></div></div>
<div class="ttc" id="aclass_t_m_c5130_stepper_html_a85c1b6aef79f3cbf6570e4365ace73fc"><div class="ttname"><a href="class_t_m_c5130_stepper.html#a85c1b6aef79f3cbf6570e4365ace73fc">TMC5130Stepper::clr_once</a></div><div class="ttdeci">bool clr_once()</div><div class="ttdef"><b>Definition:</b> <a href="_e_n_c_m_o_d_e_8cpp_source.html#l00033">ENCMODE.cpp:33</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_94e7a0fbe7f8eaf7f05ee7b02c647e9f.html">source</a></li><li class="navelem"><a class="el" href="_e_n_c_m_o_d_e_8cpp.html">ENCMODE.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
